<?php
$this_url = $_SERVER['REQUEST_URI'];
$this_url_arr = explode('/',$this_url);
$this_url_arr[3] = explode('-',$this_url_arr[3]);
//$this_url_arr[3] = array_reverse($this_url_arr[3]);
//print_r($this_url_arr);
?>
<div class="sub_top_nav">
    <div class="container clearfix">
        <div class="sub_top_link fl">
            <ul class="clearfix">
            	<li class="index_link"><a href="/index/index.html"><i class="subtop_icon"></i></a></li>
            	<li><a href="<?php echo '/'.$this_url_arr[2].'/index.html';?>"><?php echo ucwords($this_url_arr[2]);?></a></li>
            	<li class="link_next"><i class="subtop_next"></i></li>
                <?php if(!empty($_GET['cid'])){?>
                    <li><a href="<?php echo $this_url;?>">
                        <?php echo get_classname($_GET['cid']);?>
                    </a></li>
                    <li class="link_next"><i class="subtop_next"></i></li>
                <?php }?>
                <li><a href="<?php echo $this_url;?>">
                    <?php if(preg_match('/rlist/',$this_url_arr[3][0]) || preg_match('/plist/',$this_url_arr[3][0]) || preg_match('/nlist/',$this_url_arr[3][0]) || preg_match('/qlist/',$this_url_arr[3][0])){
                        echo ucwords(substr($this_url_arr[3][0],1,4));
                    }else{
                        $arr_html = explode('.',$this_url_arr[3][0]);
                        echo ucwords($arr_html[0]);
                    }?>
                </a></li>
            </ul>
        </div>
        <div class="sub_top_share">
            <div class="bdsharebuttonbox">
                <a title="分享到一键分享" href="javascript" class="bds_mshare" data-cmd="mshare"></a>
            </div>  
        </div>
    </div>
</div>